public class TestTime {
    public static void main(String[] args) {
        Time time1=new Time();
        time1.setHour(1);
        time1.setMin(15);
        time1.setSec(26);
        time1.sayTime();
      System.out.println("time.hour(): " + time1.getHour());
      System.out.println("time.getGender(): " + time1.getMin());
  
      // 创建一个 Account 的对象
      Time time2=new Time(5,23);
      time2.sayTime();
      System.out.println("time2.hour(): " + time2.getHour());
      System.out.println("time2.getGender(): " + time2.getMin());
  
      // 创建一个 Account 的对象
      Time time3=new Time(3,6,26);
      time3.sayTime();
      System.out.println("teacher3.hour(): " + time3.getHour());
      System.out.println("teacher3.getName(): " + time3.getMin());
      System.out.println("teacher3.getGender(): " + time3.getSec());
    }
}